//
//  AMTabBar.h
//  AMwb
//
//  Created by zhc on 15/11/30.
//  Copyright © 2015年 zhc. All rights reserved.
//

#import <UIKit/UIKit.h>

//中间加号的添加


//设置中间的按钮
//[self setValue:[[AMTabBar alloc]init] forKey:@"tabBar"];

@class AMTabBar;


#warning 因为AMTabBar继承自UITabBar,所以继承AMTabBar的代理，必须遵循UITabBar的Delegate
@protocol AMTabBarDelegate<UITabBarDelegate>
@optional

//:(AMTabBar *)tabBar
- (void)AMTabBarDidClickPlusButton:(AMTabBar *)tabBar;

@end



@interface AMTabBar : UITabBar

@property(nonatomic,weak) id<AMTabBarDelegate>delegate;

@end
